Fix for names ending in "]".
authorrobertl <robertl>
Wed, 6 Apr 2005 18:29:56 +0000 (18:29 +0000)
committerrobertl <robertl>
Wed, 6 Apr 2005 18:29:56 +0000 (18:29 +0000)
geo.c

diff --git a/geo.c b/geo.c
index 5caf4c0d9f94cc571c7951c3ab12ff01d9edf9f6..c93cdc5590e86a79505b2a3e42533748718b4531 100644 (file)
--- a/geo.c
+++ b/geo.c
@@ -89,7 +89,7 @@ void wpt_name_s(const char *args, const char **attrv)
 
 void wpt_name(const char *args, const char **unused)
 {
-       if (args) wpt_tmp->description = xstrdup(args);
+       if (args) wpt_tmp->description = xstrappend(wpt_tmp->description,args);
 }
 
 void wpt_link_s(const char *args, const char **attrv)